package com.SoilMM.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * com.baizhiedu.config
 * 文件创作者:常雷
 *
 * @version 2021/6/23/20:04
 */
@Configuration
public class MybtisPlusConfig {
    // mybatis的分页配置
    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }
}
